package com.archetypus.projectschedule.common.data.activities;

import java.util.List;

import com.archetypus.projectschedule.common.dto.activities.Activity;
import com.archetypus.projectschedule.common.dto.projects.Project;
import com.archetypus.projectschedule.common.exceptions.ProjectSchedulerException;

public interface ActivityDAO {
	public Activity insert(Activity activity) throws ProjectSchedulerException;
	public void delete(Activity activity) throws ProjectSchedulerException;
	public void update(Activity activity) throws ProjectSchedulerException;
	public Activity find(Activity activity) throws ProjectSchedulerException;
	public List<Activity> listByProject(Project project) throws ProjectSchedulerException;
	public List<Activity> list() throws ProjectSchedulerException;
}
